package com.Service;

import com.Mapper.SNMapper;
import com.bean.stuMind;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SNService {

    @Autowired
    private SNMapper snMapper;

    public List<stuMind> listAll(){
        return snMapper.listAll();
    }
    public int add(stuMind sm){
        return snMapper.add(sm);
    }
}
